<!-- HTML header for doxygen 1.8.9.1-->
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.11"/>
<meta name="robots" content="NOINDEX, NOFOLLOW" /> <!-- Prevent indexing by search engines -->
<title>Compute Library: ITensorObject Class Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="navtreedata.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<script type="text/javascript">
  $(document).ready(initResizable);
  $(window).load(resizeHeight);
</script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<script type="text/javascript">
  $(document).ready(function() { init_search(); });
</script>
<script type="text/x-mathjax-config">
  MathJax.Hub.Config({
    extensions: ["tex2jax.js"],
    jax: ["input/TeX","output/HTML-CSS"],
});
</script><script type="text/javascript" src="http://cdn.mathjax.org/mathjax/latest/MathJax.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td style="padding-left: 0.5em;">
   <div id="projectname">Compute Library
   &#160;<span id="projectnumber">18.03</span>
   </div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.11 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "search",false,'Search');
</script>
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="index.xhtml"><span>Main&#160;Page</span></a></li>
      <li><a href="pages.xhtml"><span>Related&#160;Pages</span></a></li>
      <li><a href="namespaces.xhtml"><span>Namespaces</span></a></li>
      <li class="current"><a href="annotated.xhtml"><span>Data&#160;Structures</span></a></li>
      <li><a href="files.xhtml"><span>Files</span></a></li>
      <li>
        <div id="MSearchBox" class="MSearchBoxInactive">
        <span class="left">
          <img id="MSearchSelect" src="search/mag_sel.png"
               onmouseover="return searchBox.OnSearchSelectShow()"
               onmouseout="return searchBox.OnSearchSelectHide()"
               alt=""/>
          <input type="text" id="MSearchField" value="Search" accesskey="S"
               onfocus="searchBox.OnSearchFieldFocus(true)" 
               onblur="searchBox.OnSearchFieldFocus(false)" 
               onkeyup="searchBox.OnSearchFieldChange(event)"/>
          </span><span class="right">
            <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
          </span>
        </div>
      </li>
    </ul>
  </div>
  <div id="navrow2" class="tabs2">
    <ul class="tablist">
      <li><a href="annotated.xhtml"><span>Data&#160;Structures</span></a></li>
      <li><a href="classes.xhtml"><span>Data&#160;Structure&#160;Index</span></a></li>
      <li><a href="inherits.xhtml"><span>Class&#160;Hierarchy</span></a></li>
      <li><a href="functions.xhtml"><span>Data&#160;Fields</span></a></li>
    </ul>
  </div>
</div><!-- top -->
<div id="side-nav" class="ui-resizable side-nav-resizable">
  <div id="nav-tree">
    <div id="nav-tree-contents">
      <div id="nav-sync" class="sync"></div>
    </div>
  </div>
  <div id="splitbar" style="-moz-user-select:none;" 
       class="ui-resizable-handle">
  </div>
</div>
<script type="text/javascript">
$(document).ready(function(){initNavTree('classarm__compute_1_1graph_1_1_i_tensor_object.xhtml','');});
</script>
<div id="doc-content">
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div class="header">
  <div class="summary">
<a href="#pub-methods">Public Member Functions</a>  </div>
  <div class="headertitle">
<div class="title">ITensorObject Class Reference<span class="mlabels"><span class="mlabel">abstract</span></span></div>  </div>
</div><!--header-->
<div class="contents">

<p><a class="el" href="classarm__compute_1_1graph_1_1_tensor.xhtml" title="Tensor class. ">Tensor</a> object interface.  
 <a href="classarm__compute_1_1graph_1_1_i_tensor_object.xhtml#details">More...</a></p>

<p><code>#include &lt;<a class="el" href="_i_tensor_object_8h_source.xhtml">ITensorObject.h</a>&gt;</code></p>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a>
Public Member Functions</h2></td></tr>
<tr class="memitem:a2822b8ecb3eafe764f7cd4e490ab6cb8"><td class="memItemLeft" align="right" valign="top">virtual&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classarm__compute_1_1graph_1_1_i_tensor_object.xhtml#a2822b8ecb3eafe764f7cd4e490ab6cb8">~ITensorObject</a> ()=default</td></tr>
<tr class="memdesc:a2822b8ecb3eafe764f7cd4e490ab6cb8"><td class="mdescLeft">&#160;</td><td class="mdescRight">Default Destructor.  <a href="#a2822b8ecb3eafe764f7cd4e490ab6cb8">More...</a><br /></td></tr>
<tr class="separator:a2822b8ecb3eafe764f7cd4e490ab6cb8"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ad422767da0c5797181f4af2bed259879"><td class="memItemLeft" align="right" valign="top">virtual bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classarm__compute_1_1graph_1_1_i_tensor_object.xhtml#ad422767da0c5797181f4af2bed259879">call_accessor</a> ()=0</td></tr>
<tr class="memdesc:ad422767da0c5797181f4af2bed259879"><td class="mdescLeft">&#160;</td><td class="mdescRight">Calls accessor on tensor.  <a href="#ad422767da0c5797181f4af2bed259879">More...</a><br /></td></tr>
<tr class="separator:ad422767da0c5797181f4af2bed259879"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aeaa06a0580bd12cac139c2c488e6bea0"><td class="memItemLeft" align="right" valign="top">virtual bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classarm__compute_1_1graph_1_1_i_tensor_object.xhtml#aeaa06a0580bd12cac139c2c488e6bea0">has_accessor</a> () const =0</td></tr>
<tr class="memdesc:aeaa06a0580bd12cac139c2c488e6bea0"><td class="mdescLeft">&#160;</td><td class="mdescRight">Checks if tensor has an accessor set.  <a href="#aeaa06a0580bd12cac139c2c488e6bea0">More...</a><br /></td></tr>
<tr class="separator:aeaa06a0580bd12cac139c2c488e6bea0"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aeef25dd1e341012fd05197bea6ab4e41"><td class="memItemLeft" align="right" valign="top">virtual <a class="el" href="classarm__compute_1_1_i_tensor.xhtml">ITensor</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classarm__compute_1_1graph_1_1_i_tensor_object.xhtml#aeef25dd1e341012fd05197bea6ab4e41">set_target</a> (<a class="el" href="namespacearm__compute_1_1graph.xhtml#a8d5e69e9a697c2007e241eb413c9833b">TargetHint</a> <a class="el" href="classarm__compute_1_1graph_1_1_i_tensor_object.xhtml#a6e827206022b032f717c23e4d18ed25b">target</a>)=0</td></tr>
<tr class="memdesc:aeef25dd1e341012fd05197bea6ab4e41"><td class="mdescLeft">&#160;</td><td class="mdescRight">Sets target of the tensor.  <a href="#aeef25dd1e341012fd05197bea6ab4e41">More...</a><br /></td></tr>
<tr class="separator:aeef25dd1e341012fd05197bea6ab4e41"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a99803b0c29444efee997abd9afd0c9ba"><td class="memItemLeft" align="right" valign="top">virtual <a class="el" href="classarm__compute_1_1_i_tensor.xhtml">ITensor</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classarm__compute_1_1graph_1_1_i_tensor_object.xhtml#a99803b0c29444efee997abd9afd0c9ba">tensor</a> ()=0</td></tr>
<tr class="memdesc:a99803b0c29444efee997abd9afd0c9ba"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns a pointer to the internal tensor.  <a href="#a99803b0c29444efee997abd9afd0c9ba">More...</a><br /></td></tr>
<tr class="separator:a99803b0c29444efee997abd9afd0c9ba"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a20e904c07fa0eccf3dc13ec48ed55ad1"><td class="memItemLeft" align="right" valign="top">virtual const <a class="el" href="classarm__compute_1_1_i_tensor.xhtml">ITensor</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classarm__compute_1_1graph_1_1_i_tensor_object.xhtml#a20e904c07fa0eccf3dc13ec48ed55ad1">tensor</a> () const =0</td></tr>
<tr class="separator:a20e904c07fa0eccf3dc13ec48ed55ad1"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a6e827206022b032f717c23e4d18ed25b"><td class="memItemLeft" align="right" valign="top">virtual <a class="el" href="namespacearm__compute_1_1graph.xhtml#a8d5e69e9a697c2007e241eb413c9833b">TargetHint</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classarm__compute_1_1graph_1_1_i_tensor_object.xhtml#a6e827206022b032f717c23e4d18ed25b">target</a> () const =0</td></tr>
<tr class="memdesc:a6e827206022b032f717c23e4d18ed25b"><td class="mdescLeft">&#160;</td><td class="mdescRight">Return the target that this tensor is pinned on.  <a href="#a6e827206022b032f717c23e4d18ed25b">More...</a><br /></td></tr>
<tr class="separator:a6e827206022b032f717c23e4d18ed25b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa8a4946cd749d482dd996874d295af85"><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classarm__compute_1_1graph_1_1_i_tensor_object.xhtml#aa8a4946cd749d482dd996874d295af85">allocate</a> ()=0</td></tr>
<tr class="memdesc:aa8a4946cd749d482dd996874d295af85"><td class="mdescLeft">&#160;</td><td class="mdescRight">Allocates the tensor.  <a href="#aa8a4946cd749d482dd996874d295af85">More...</a><br /></td></tr>
<tr class="separator:aa8a4946cd749d482dd996874d295af85"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<div class="textblock"><p><a class="el" href="classarm__compute_1_1graph_1_1_tensor.xhtml" title="Tensor class. ">Tensor</a> object interface. </p>

<p>Definition at line <a class="el" href="_i_tensor_object_8h_source.xhtml#l00038">38</a> of file <a class="el" href="_i_tensor_object_8h_source.xhtml">ITensorObject.h</a>.</p>
</div><h2 class="groupheader">Constructor &amp; Destructor Documentation</h2>
<a class="anchor" id="a2822b8ecb3eafe764f7cd4e490ab6cb8"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">virtual ~<a class="el" href="classarm__compute_1_1graph_1_1_i_tensor_object.xhtml">ITensorObject</a> </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">virtual</span><span class="mlabel">default</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Default Destructor. </p>

</div>
</div>
<h2 class="groupheader">Member Function Documentation</h2>
<a class="anchor" id="aa8a4946cd749d482dd996874d295af85"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">virtual void allocate </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">pure virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Allocates the tensor. </p>

<p>Implemented in <a class="el" href="classarm__compute_1_1graph_1_1_tensor.xhtml#a6e509c2a177b0b29e9e2369535094dee">Tensor</a>, and <a class="el" href="classarm__compute_1_1graph_1_1_sub_tensor.xhtml#a6e509c2a177b0b29e9e2369535094dee">SubTensor</a>.</p>

</div>
</div>
<a class="anchor" id="ad422767da0c5797181f4af2bed259879"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">virtual bool call_accessor </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">pure virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Calls accessor on tensor. </p>
<dl class="section return"><dt>Returns</dt><dd>True if succeeds else false </dd></dl>

<p>Implemented in <a class="el" href="classarm__compute_1_1graph_1_1_tensor.xhtml#aa327119aa8799cde0bedceb19a72a65f">Tensor</a>, and <a class="el" href="classarm__compute_1_1graph_1_1_sub_tensor.xhtml#aa327119aa8799cde0bedceb19a72a65f">SubTensor</a>.</p>

</div>
</div>
<a class="anchor" id="aeaa06a0580bd12cac139c2c488e6bea0"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">virtual bool has_accessor </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">pure virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Checks if tensor has an accessor set. </p>
<dl class="section return"><dt>Returns</dt><dd>True if an accessor has been set else false </dd></dl>

<p>Implemented in <a class="el" href="classarm__compute_1_1graph_1_1_tensor.xhtml#a5109041fda0fb64ce0d5ed9f11c1cddb">Tensor</a>, and <a class="el" href="classarm__compute_1_1graph_1_1_sub_tensor.xhtml#a5109041fda0fb64ce0d5ed9f11c1cddb">SubTensor</a>.</p>

</div>
</div>
<a class="anchor" id="aeef25dd1e341012fd05197bea6ab4e41"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">virtual <a class="el" href="classarm__compute_1_1_i_tensor.xhtml">ITensor</a>* set_target </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="namespacearm__compute_1_1graph.xhtml#a8d5e69e9a697c2007e241eb413c9833b">TargetHint</a>&#160;</td>
          <td class="paramname"><em>target</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">pure virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Sets target of the tensor. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in]</td><td class="paramname">target</td><td>Target where the tensor should be pinned in</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>Backend tensor </dd></dl>

<p>Implemented in <a class="el" href="classarm__compute_1_1graph_1_1_tensor.xhtml#adc3516eafe22db8f96b4cd1076137758">Tensor</a>, and <a class="el" href="classarm__compute_1_1graph_1_1_sub_tensor.xhtml#adc3516eafe22db8f96b4cd1076137758">SubTensor</a>.</p>

</div>
</div>
<a class="anchor" id="a6e827206022b032f717c23e4d18ed25b"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">virtual <a class="el" href="namespacearm__compute_1_1graph.xhtml#a8d5e69e9a697c2007e241eb413c9833b">TargetHint</a> target </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">pure virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Return the target that this tensor is pinned on. </p>
<dl class="section return"><dt>Returns</dt><dd>Target of the tensor </dd></dl>

<p>Implemented in <a class="el" href="classarm__compute_1_1graph_1_1_tensor.xhtml#a55a3281e69f6661f410c64d780b69aa2">Tensor</a>, and <a class="el" href="classarm__compute_1_1graph_1_1_sub_tensor.xhtml#a55a3281e69f6661f410c64d780b69aa2">SubTensor</a>.</p>

</div>
</div>
<a class="anchor" id="a99803b0c29444efee997abd9afd0c9ba"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">virtual <a class="el" href="classarm__compute_1_1_i_tensor.xhtml">ITensor</a>* tensor </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">pure virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Returns a pointer to the internal tensor. </p>
<dl class="section return"><dt>Returns</dt><dd><a class="el" href="classarm__compute_1_1graph_1_1_tensor.xhtml" title="Tensor class. ">Tensor</a> </dd></dl>

<p>Implemented in <a class="el" href="classarm__compute_1_1graph_1_1_tensor.xhtml#a2ab74f480b51fb1f6816c1ebde64f0a8">Tensor</a>, and <a class="el" href="classarm__compute_1_1graph_1_1_sub_tensor.xhtml#a2ab74f480b51fb1f6816c1ebde64f0a8">SubTensor</a>.</p>

<p>Referenced by <a class="el" href="graph_2_error_8h_source.xhtml#l00042">arm_compute::graph::error_on_unallocated_tensor_object()</a>.</p>

</div>
</div>
<a class="anchor" id="a20e904c07fa0eccf3dc13ec48ed55ad1"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">virtual const <a class="el" href="classarm__compute_1_1_i_tensor.xhtml">ITensor</a>* tensor </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">pure virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Implemented in <a class="el" href="classarm__compute_1_1graph_1_1_tensor.xhtml#a8411043fce72cd1e10ef0d0e3a7ad145">Tensor</a>, and <a class="el" href="classarm__compute_1_1graph_1_1_sub_tensor.xhtml#a8411043fce72cd1e10ef0d0e3a7ad145">SubTensor</a>.</p>

</div>
</div>
<hr/>The documentation for this class was generated from the following file:<ul>
<li>arm_compute/graph/<a class="el" href="_i_tensor_object_8h_source.xhtml">ITensorObject.h</a></li>
</ul>
</div><!-- contents -->
</div><!-- doc-content -->
<!-- start footer part -->
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
  <ul>
    <li class="navelem"><a class="el" href="namespacearm__compute.xhtml">arm_compute</a></li><li class="navelem"><a class="el" href="namespacearm__compute_1_1graph.xhtml">graph</a></li><li class="navelem"><a class="el" href="classarm__compute_1_1graph_1_1_i_tensor_object.xhtml">ITensorObject</a></li>
    <li class="footer">Generated on Fri Mar 2 2018 12:37:59 for Compute Library by
    <a href="http://www.doxygen.org/index.html">
    <img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.8.11 </li>
  </ul>
</div>
</body>
</html>
